package com.wisemoresystem.seal.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;
import org.ne.framework.data.model.DbModel;

/**
 * 印章 审核流程 模块 表
 * 
 * @author 冯晓东
 *
 */
@Entity
public class t_seal_workflow_module implements DbModel {

	@Transient
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(generator = "my_generator")
	@GenericGenerator(name = "my_generator", strategy = "uuid")
	@Column(length = 32)
	private String _id;

	private String workflow_id;

	private String flag;// 结果：未启动 or 待审批 or 通过 or 不通过 or 已终止 | 接收

	private String verify_user_id;// 审批人员
	private String verify_bank_id;// 审批银行
	private Timestamp verify_time;// 审核时间 | 接收时间

	private int sort;// 审核顺序

	private String note;// 备注

	private int status;
	private Timestamp created = new Timestamp(System.currentTimeMillis());

	// ======= get / set ()=================
	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	public String getWorkflow_id() {
		return workflow_id;
	}

	public void setWorkflow_id(String workflow_id) {
		this.workflow_id = workflow_id;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getVerify_user_id() {
		return verify_user_id;
	}

	public void setVerify_user_id(String verify_user_id) {
		this.verify_user_id = verify_user_id;
	}

	public String getVerify_bank_id() {
		return verify_bank_id;
	}

	public void setVerify_bank_id(String verify_bank_id) {
		this.verify_bank_id = verify_bank_id;
	}

	public Timestamp getVerify_time() {
		return verify_time;
	}

	public void setVerify_time(Timestamp verify_time) {
		this.verify_time = verify_time;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
